<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 310px;
            height: 441px;
            border: 1px solid black;
            margin: 100px auto;
        }

        img{
            position: absolute;
            transform-origin: center bottom;
            transition: all 2s ease-in-out;
            box-shadow: 1px 1px 3px 1px #333 ;
        }

        img:nth-child(6){
            transform: rotate(-20deg);
        }
        img:nth-child(5){
            transform: rotate(-40deg);
        }
        img:nth-child(4){
            transform: rotate(-60deg);
        }
        img:nth-child(3){
            transform: rotate(-80deg);
        }
        img:nth-child(2){
            transform: rotate(-100deg);
        }
        img:nth-child(1){
            transform: rotate(-120deg);
        }

        img:nth-child(8){
            transform: rotate(20deg);
        }
        img:nth-child(9){
            transform: rotate(40deg);
        }
        img:nth-child(10){
            transform: rotate(60deg);
        }
        img:nth-child(11){
            transform: rotate(80deg);
        }
        img:nth-child(12){
            transform: rotate(100deg);
        }
        img:nth-child(13){
            transform: rotate(120deg);
        }

        div:hover img{
            transform: none;
        }

    </style>
</head>
<body>
    <div>
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
        <img src="img/pk2.png" alt="">
    </div>
</body>
</html>